wfm-ux

(0 reviews)

TMF666-GET-Retrieve BillingAccount Details by AccountNo

This operation allows to retrieve billing account details and additional contact information based on provided inputs such as accountNumber for JM.

Key Considerations common for both HFC & FTTH Implementation
  1. id-uriparam (i.e. AccountNumber) is mandatory to retrieve the billing account details from Liberate & Cerillion.
  2. This is implemented for JM market.
  3. Additional parameter called sourceBSS will be provided in the response to know the request is for Liberate/Cerillion.
  4. Contact information will be provided under payalod.contact array.
  5. payload.contact[0].contactMedium where contactMedium.mediumType == "BillingAddress" is providing the billing address information for the provided account from Liberate & Cerillion.
Key Considerations for Liberate FTTH Implementation
  1. All other objects apart from BillingAddress object under payload.contact array will provide the contact information from Liberate. The object consists of below fields

    • contactName,
    • partyRoleType(Ex. OWNER, RELAT, etc.,),
    • contactMedium[] - Provides all the available contact methods for JM.
  2. Below are all possible contactMethods in Liberate for JM.

S.NoLiberate ContactMethodDescriptionMediumType(ESB)ContactType(ESB)
1BILLEME-mail ID to recieve BillEmailbillEmail
2EMAILE-mail AddressEmailemail
3FAXFAX numberFaxfax
4HOMEHome NumberTelephonehome
5IVRIVR Primary Contact NumberIVRivr
6IVR1IVR Alternate Contact Number 1IVRivr1
7IVR2IVR Alternate Contact Number 2IVRivr2
8IVR3IVR Alternate Contact Number 3IVRivr3
9MOB1Mobile Number 1Mobilemobile1
10MOB2Mobile Number 2Mobilemobile2
11PHONETelephone and ext. no.Telephonephone
12WORKWork NumberTelephonework
Key Considerations for Cerillion HFC Implementation
  1. All other objects apart from BillingAddress object under payload.contact array will provide the contact information from Cerillion. The object consists of below fields

    • contactName,
    • contactType(Ex. primary, secondary),
    • contactMedium[] - Provides all the available contact methods for JM.
  2. Below are all possible contactMethods in Cerillion for JM.

S.NoCerillion ContactMethodDescriptionMediumType(ESB)ContactType(ESB)
1BUSINESSBusiness NumberTelephonebusiness
2FAXFax Phone NumberFaxfax
3FAX_NOFax NumberFaxfax_no
4HOMEHome NumberTelephonehome
5MOBILEMobile PhoneMobilemobile
6MOBILE_NOMobile NumberMobilemobile_no
7PHONE_NOGeneral NumberTelephonephone_no
8EMAILBilling Email AddressEmailbillEmail
9emailAddress1Email Address 1Emailemail1
10emailAddress2Email Address 2Emailemail2
URL
https://nonprod.esb.cloud.lla.com/test/wfm-ux/wfm-ux/v1/{businessId}/billingAccount/{id}
URI Params
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
idstringUnique identifier of the Billing AccountY
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
N
cURL request for FTTH-Liberate
curl --location 'https://nonprod.esb.cloud.lla.com/test/wfm-ux/wfm-ux/v1/JM/billingAccount/301202420000' \
--header 'client_id: 123' \
--header 'client_secret: 123' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b'
Response for FTTH-Liberate
{
    "id": "301202420000",
    "billable": true,
    "accountType": "R",
    "description": "Residence",
    "name": "MR Wayne Thompson",
    "paymentStatus": "In Arrears",
    "state": "W-Working",
    "accountBalance": [
        {
            "amount": {
                "value": 6498.75,
                "unit": "JMD"
            },
            "balanceType": "NetPayable"
        },
        {
            "amount": {
                "value": 6498.75,
                "unit": "JMD"
            },
            "balanceType": "LastBillAmount",
            "validFor": {
                "endDateTime": "2025-07-29T00:00:00.000Z"
            }
        },
        {
            "amount": {
                "value": 6786.25,
                "unit": "JMD"
            },
            "balanceType": "LastPayment Amount",
            "validFor": {
                "endDateTime": "2025-06-28T00:00:00.000Z"
            }
        },
        {
            "amount": {
                "value": 6498.75,
                "unit": "JMD"
            },
            "balanceType": "Overdue Amount"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "DepositRequired"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "WrittenOffAmount"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalQuery"
        },
        {
            "amount": {
                "value": 6498.75,
                "unit": "JMD"
            },
            "balanceType": "TotalOutstandingBalance"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "DepositHeld"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "Total Query Tax"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalAdjustmentCredit"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalDepositPaid"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalServiceChargeCredit"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalRewards"
        },
        {
            "amount": {
                "value": 0.00,
                "unit": "JMD"
            },
            "balanceType": "TotalAvailablePointsAmount"
        }
    ],
    "billStructure": {
        "cycleSpecification": {
            "id": "H",
            "paymentDueDate": "2025-07-29T00:00:00.000Z",
            "billingDay": 9
        },
        "presentationMedia": [
            {
                "id": "E",
                "name": "Electronic Bills"
            },
            {
                "id": "E",
                "name": "BillLanguage"
            }
        ]
    },
    "paymentPlan": [
        {
            "priority": 0,
            "planType": "W",
            "status": "true",
            "@type": "SupportsRecurringPayments"
        }
    ],
    "relatedParty": [
        {
            "id": "106847724",
            "name": "MR Wayne Thompson",
            "role": "customer",
            "@type": "Customer",
            "@referredType": "Customer",
            "@baseType": "RelatedParty",
            "characteristic": [
                {
                    "name": "DocumentType",
                    "value": "TR"
                },
                {
                    "name": "DocumentNumber",
                    "value": "106847724"
                },
                {
                    "name": "Email",
                    "value": "jahson80@gmail.com"
                },
                {
                    "name": "Gender",
                    "value": "M"
                },
                {
                    "name": "Title",
                    "value": "MR",
                    "valueType": "string"
                },
                {
                    "name": "FirstName",
                    "value": "Wayne",
                    "valueType": "string"
                },
                {
                    "name": "LastName",
                    "value": "Thompson",
                    "valueType": "string"
                },
                {
                    "name": "OtherName",
                    "value": "UMAR",
                    "valueType": "string"
                },
                {
                    "name": "CompanyName",
                    "value": "Latoya Green",
                    "valueType": "string"
                },
                {
                    "name": "Date-Of-Birth",
                    "value": "12-May-1969 00:00:00",
                    "valueType": "string"
                },
                {
                    "name": "Customer Identity",
                    "valueType": "array",
                    "value": [
                        {
                            "DocumentType": "SS",
                            "DocumentNumber": "106847724",
                            "DocumentDescription": "Driving L No."
                        },
                        {
                            "DocumentType": "TR",
                            "DocumentNumber": "106847724",
                            "DocumentDescription": "TRN Number"
                        }
                    ]
                }
            ]
        },
        {
            "id": "0",
            "role": "MigratedAccount"
        },
        {
            "id": "LIME",
            "role": "legalEntity"
        },
        {
            "@type": "Account",
            "characteristic": [
                {
                    "name": "BaseAccountType",
                    "value": "RES"
                }
            ]
        },
        {
            "id": "990000",
            "name": "Residential",
            "role": "marketingCategory"
        }
    ],
    "contact": [
        {
            "contactMedium": [
                {
                    "mediumType": "BillingAddress",
                    "characteristic": {
                        "street1": "Lot 174c South Haven",
                        "street2": " South Haven",
                        "city": "Yallahs",
                        "stateOrProvince": "St Thomas",
                        "country": "Jamaica",
                        "postCode": "00000"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "1234567"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "waynethom@gmail.com"
                    }
                }
            ]
        },
        {
            "contactName": "WAYNE THOMPSON",
            "partyRoleType": "OWNER",
            "contactMedium": [
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "waynethom@gmail.com",
                        "contactType": "billEmail"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "waynethom@gmail.com",
                        "contactType": "email"
                    }
                },
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "8763306113",
                        "contactType": "mobile1"
                    }
                },
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "mobile2"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "home"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "phone"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "work"
                    }
                },
                {
                    "mediumType": "Fax",
                    "characteristic": {
                        "faxNumber": "84786620",
                        "contactType": "fax"
                    }
                },
                {
                    "mediumType": "IVR",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "ivr"
                    }
                },
                {
                    "mediumType": "IVR",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "ivr1"
                    }
                },
                {
                    "mediumType": "IVR",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "ivr2"
                    }
                },
                {
                    "mediumType": "IVR",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "ivr3"
                    }
                }
            ]
        },
        {
            "contactName": "Fay Thompson",
            "partyRoleType": "RELAT",
            "contactMedium": [
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "8764786620",
                        "contactType": "mobile1"
                    }
                }
            ]
        }
    ],
    "creditLimit": {
        "unit": "JMD",
        "value": 0
    },
    "defaultPaymentMethod": {
        "id": "E",
        "name": "Electronic"
    },
    "financialAccount": {
        "id": "301202420000",
        "@referredType": "FinancialAccount"
    },
    "accountRelationship": [
        {
            "account": {
                "name": ""
            },
            "relationshipType": "MigratedBillingSystem"
        }
    ],
    "sourceBSS": "LIBERATE"
}
cURL request for HFC-Cerillion
curl --location 'https://nonprod.esb.cloud.lla.com/test/wfm-ux/wfm-ux/v1/JM/billingAccount/50450354' \
--header 'client_id: 123' \
--header 'client_secret: 123' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b'
Response for HFC-Cerillion
{
    "id": "50450354",
    "href": "https://esb-dev.lla.com/tmf-api/accountManagement/v1/JM/billingAccount/50450354",
    "accountType": "RES",
    "name": "ANN MARIE CODNER",
    "paymentStatus": "In Arrears",
    "state": "SN",
    "accountBalance": [
        {
            "amount": {
                "unit": "JMD",
                "value": 6000
            },
            "balanceType": "LastPaymentAmount",
            "validFor": {
                "endDateTime": "2024-06-30T23:20:46.000Z"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 18754.47
            },
            "balanceType": "CurrentBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 18754.47
            },
            "balanceType": "OverdueBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0
            },
            "balanceType": "WrittenOffAmount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 18754.47
            },
            "balanceType": "TotalOutstandingBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 18754.47
            },
            "balanceType": "LastBillAmount",
            "validFor": {
                "endDateTime": "2024-10-06T00:00:00.000Z"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 24848.32
            },
            "balanceType": "LedgerBalance"
        }
    ],
    "billStructure": {
        "cycleSpecification": {
            "paymentDueDate": "2024-10-06T00:00:00.000Z",
            "id": "CY3",
            "billingDay": 9
        },
        "presentationMedia": [
            {
                "id": "E",
                "name": "EMAIL"
            },
            {
                "id": "en-us",
                "name": "BillLanguage"
            }
        ]
    },
    "paymentPlan": [
        {
            "status": "true",
            "@type": "SupportsRecurringPayments"
        }
    ],
    "relatedParty": [
        {
            "id": "50450354",
            "name": "ANN MARIE CODNER",
            "role": "customer",
            "@type": "Customer",
            "@referredType": "Customer",
            "@baseType": "RelatedParty",
            "characteristic": [
                {
                    "name": "Customer Identity",
                    "valueType": "array",
                    "value": [
                        {
                            "DocumentType": "TRN",
                            "DocumentNumber": "110537637",
                            "DocumentDescription": "TRN Number"
                        }
                    ]
                },
                {
                    "@referredType": "Customer",
                    "name": "Date-Of-Birth",
                    "value": "17-Feb-1975 00:00:00",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "Title",
                    "value": "MS",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "FirstName",
                    "value": "ANN MARIE",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "LastName",
                    "value": "CODNER",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "CompanyName",
                    "value": "CODNER",
                    "valueType": "string"
                }
            ]
        },
        {
            "@referredType": "Customer",
            "id": "701742",
            "name": "FLOW"
        },
        {
            "value": "FLOW",
            "role": "LegalEntity"
        },
        {
            "name": "FLOW",
            "role": "marketingCategory"
        },
        {
            "@referredType": "Account",
            "id": "ST"
        }
    ],
    "contact": [
        {
            "contactName": "ANN MARIE CODNER",
            "contactMedium": [
                {
                    "mediumType": "BillingAddress",
                    "characteristic": {
                        "street2": "RHONE PARK ESTATE",
                        "city": "RHONE PARK ESTATE",
                        "stateOrProvince": "OLD HARBOUR"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "moniquemills21@gmail.com",
                        "contactType": "billEmail"
                    }
                }
            ]
        },
        {
            "contactName": "ANN MARIE CODNER",
            "contactType": "primary",
            "contactMedium": [
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8767712922",
                        "contactType": "business"
                    }
                },
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "(876) 853-1212",
                        "contactType": "mobile_no"
                    }
                },
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "(876) 853-1212",
                        "contactType": "mobile"
                    }
                },
                {
                    "mediumType": "Fax",
                    "characteristic": {
                        "faxNumber": "8769784312",
                        "contactType": "fax_no"
                    }
                },
                {
                    "mediumType": "Fax",
                    "characteristic": {
                        "faxNumber": "8769784212",
                        "contactType": "fax"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8764626145",
                        "contactType": "home"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8764626145",
                        "contactType": "phone_no"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "shanapittison@gmail.com",
                        "contactType": "email1"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "shanapittison@gmail.com",
                        "contactType": "email2"
                    }
                }
            ]
        },
        {
            "contactName": "Monique Mills",
            "contactType": "secondary",
            "contactMedium": [
                {
                    "mediumType": "Mobile",
                    "characteristic": {
                        "phoneNumber": "8764626145",
                        "contactType": "mobile_no"
                    }
                }
            ]
        }
    ],
    "financialAccount": {
        "id": "50450354"
    },
    "sourceBSS": "CERILLION"
}

Reviews